package com.ztesoft.web.baseconfig.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class TargetColMapArg {
    private String pk_name = "TARGET_DATA_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<TargetColMapCriteria> oredCriteria;

    public TargetColMapArg() {
        oredCriteria = new ArrayList<TargetColMapCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<TargetColMapCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(TargetColMapCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public TargetColMapCriteria or() {
    	TargetColMapCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public TargetColMapCriteria createCriteria() {
    	TargetColMapCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected TargetColMapCriteria createCriteriaInternal() {
    	TargetColMapCriteria criteria = new TargetColMapCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<TargetColMapCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<TargetColMapCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<TargetColMapCriterion> getAllCriteria() {
            return criteria;
        }

        public List<TargetColMapCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new TargetColMapCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new TargetColMapCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new TargetColMapCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new TargetColMapCriterion(condition, value1, value2));
        }

        public TargetColMapCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andTargetDataIdIsNull() {
            addCriterion("TARGET_DATA_ID is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdIsNotNull() {
            addCriterion("TARGET_DATA_ID is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdEqualTo(Integer value) {
            addCriterion("TARGET_DATA_ID =", value, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdNotEqualTo(Integer value) {
            addCriterion("TARGET_DATA_ID <>", value, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdGreaterThan(Integer value) {
            addCriterion("TARGET_DATA_ID >", value, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("TARGET_DATA_ID >=", value, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdLessThan(Integer value) {
            addCriterion("TARGET_DATA_ID <", value, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdLessThanOrEqualTo(Integer value) {
            addCriterion("TARGET_DATA_ID <=", value, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdLike(Integer value) {
            addCriterion("TARGET_DATA_ID like ", value, "TARGET_DATA_ID", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdNotLike(Integer value) {
            addCriterion("TARGET_DATA_ID  not like ", value, "TARGET_DATA_ID", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdLeftLike(Integer value) {
            addCriterion("TARGET_DATA_ID like ", value, "TARGET_DATA_ID", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdNotLeftLike(Integer value) {
            addCriterion("TARGET_DATA_ID  not like ", value, "TARGET_DATA_ID", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdRightLike(Integer value) {
            addCriterion("TARGET_DATA_ID like ", value, "TARGET_DATA_ID", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdNotRightLike(Integer value) {
            addCriterion("TARGET_DATA_ID  not like ", value, "TARGET_DATA_ID", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdIn(List<Integer> values) {
            addCriterion("TARGET_DATA_ID  in ", values, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdNotIn(List<Integer> values) {
            addCriterion("TARGET_DATA_ID not in ", values, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdBetween(Integer value1, Integer value2) {
            addCriterion("TARGET_DATA_ID between ", value1, value2, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetDataIdNotBetween(Integer value1, Integer value2) {
            addCriterion("TARGET_DATA_ID not between ", value1, value2, "TARGET_DATA_ID");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andSourceDataIdIsNull() {
            addCriterion("SOURCE_DATA_ID is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdIsNotNull() {
            addCriterion("SOURCE_DATA_ID is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID =", value, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdNotEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <>", value, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdGreaterThan(Integer value) {
            addCriterion("SOURCE_DATA_ID >", value, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID >=", value, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdLessThan(Integer value) {
            addCriterion("SOURCE_DATA_ID <", value, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdLessThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <=", value, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdNotLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdNotLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdNotRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID  in ", values, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdNotIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID not in ", values, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID between ", value1, value2, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceDataIdNotBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID not between ", value1, value2, "SOURCE_DATA_ID");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andSeqNbrIsNull() {
            addCriterion("SEQ_NBR is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrIsNotNull() {
            addCriterion("SEQ_NBR is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrEqualTo(Integer value) {
            addCriterion("SEQ_NBR =", value, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrNotEqualTo(Integer value) {
            addCriterion("SEQ_NBR <>", value, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrGreaterThan(Integer value) {
            addCriterion("SEQ_NBR >", value, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrGreaterThanOrEqualTo(Integer value) {
            addCriterion("SEQ_NBR >=", value, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrLessThan(Integer value) {
            addCriterion("SEQ_NBR <", value, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrLessThanOrEqualTo(Integer value) {
            addCriterion("SEQ_NBR <=", value, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrLike(Integer value) {
            addCriterion("SEQ_NBR like ", value, "SEQ_NBR", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrNotLike(Integer value) {
            addCriterion("SEQ_NBR  not like ", value, "SEQ_NBR", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrLeftLike(Integer value) {
            addCriterion("SEQ_NBR like ", value, "SEQ_NBR", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrNotLeftLike(Integer value) {
            addCriterion("SEQ_NBR  not like ", value, "SEQ_NBR", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrRightLike(Integer value) {
            addCriterion("SEQ_NBR like ", value, "SEQ_NBR", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrNotRightLike(Integer value) {
            addCriterion("SEQ_NBR  not like ", value, "SEQ_NBR", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrIn(List<Integer> values) {
            addCriterion("SEQ_NBR  in ", values, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrNotIn(List<Integer> values) {
            addCriterion("SEQ_NBR not in ", values, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrBetween(Integer value1, Integer value2) {
            addCriterion("SEQ_NBR between ", value1, value2, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSeqNbrNotBetween(Integer value1, Integer value2) {
            addCriterion("SEQ_NBR not between ", value1, value2, "SEQ_NBR");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andSourceColumnIsNull() {
            addCriterion("SOURCE_COLUMN is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnIsNotNull() {
            addCriterion("SOURCE_COLUMN is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnEqualTo(String value) {
            addCriterion("SOURCE_COLUMN =", value, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnNotEqualTo(String value) {
            addCriterion("SOURCE_COLUMN <>", value, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnGreaterThan(String value) {
            addCriterion("SOURCE_COLUMN >", value, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnGreaterThanOrEqualTo(String value) {
            addCriterion("SOURCE_COLUMN >=", value, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnLessThan(String value) {
            addCriterion("SOURCE_COLUMN <", value, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnLessThanOrEqualTo(String value) {
            addCriterion("SOURCE_COLUMN <=", value, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnLike(String value) {
            addCriterion("SOURCE_COLUMN like ", value, "SOURCE_COLUMN", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnNotLike(String value) {
            addCriterion("SOURCE_COLUMN  not like ", value, "SOURCE_COLUMN", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnLeftLike(String value) {
            addCriterion("SOURCE_COLUMN like ", value, "SOURCE_COLUMN", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnNotLeftLike(String value) {
            addCriterion("SOURCE_COLUMN  not like ", value, "SOURCE_COLUMN", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnRightLike(String value) {
            addCriterion("SOURCE_COLUMN like ", value, "SOURCE_COLUMN", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnNotRightLike(String value) {
            addCriterion("SOURCE_COLUMN  not like ", value, "SOURCE_COLUMN", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnIn(List<String> values) {
            addCriterion("SOURCE_COLUMN  in ", values, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnNotIn(List<String> values) {
            addCriterion("SOURCE_COLUMN not in ", values, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnBetween(String value1, String value2) {
            addCriterion("SOURCE_COLUMN between ", value1, value2, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnNotBetween(String value1, String value2) {
            addCriterion("SOURCE_COLUMN not between ", value1, value2, "SOURCE_COLUMN");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andSourceColFlagIsNull() {
            addCriterion("SOURCE_COL_FLAG is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagIsNotNull() {
            addCriterion("SOURCE_COL_FLAG is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagEqualTo(String value) {
            addCriterion("SOURCE_COL_FLAG =", value, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagNotEqualTo(String value) {
            addCriterion("SOURCE_COL_FLAG <>", value, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagGreaterThan(String value) {
            addCriterion("SOURCE_COL_FLAG >", value, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagGreaterThanOrEqualTo(String value) {
            addCriterion("SOURCE_COL_FLAG >=", value, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagLessThan(String value) {
            addCriterion("SOURCE_COL_FLAG <", value, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagLessThanOrEqualTo(String value) {
            addCriterion("SOURCE_COL_FLAG <=", value, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagLike(String value) {
            addCriterion("SOURCE_COL_FLAG like ", value, "SOURCE_COL_FLAG", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagNotLike(String value) {
            addCriterion("SOURCE_COL_FLAG  not like ", value, "SOURCE_COL_FLAG", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagLeftLike(String value) {
            addCriterion("SOURCE_COL_FLAG like ", value, "SOURCE_COL_FLAG", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagNotLeftLike(String value) {
            addCriterion("SOURCE_COL_FLAG  not like ", value, "SOURCE_COL_FLAG", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagRightLike(String value) {
            addCriterion("SOURCE_COL_FLAG like ", value, "SOURCE_COL_FLAG", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagNotRightLike(String value) {
            addCriterion("SOURCE_COL_FLAG  not like ", value, "SOURCE_COL_FLAG", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagIn(List<String> values) {
            addCriterion("SOURCE_COL_FLAG  in ", values, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagNotIn(List<String> values) {
            addCriterion("SOURCE_COL_FLAG not in ", values, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagBetween(String value1, String value2) {
            addCriterion("SOURCE_COL_FLAG between ", value1, value2, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColFlagNotBetween(String value1, String value2) {
            addCriterion("SOURCE_COL_FLAG not between ", value1, value2, "SOURCE_COL_FLAG");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andTargetColumnIsNull() {
            addCriterion("TARGET_COLUMN is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnIsNotNull() {
            addCriterion("TARGET_COLUMN is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnEqualTo(String value) {
            addCriterion("TARGET_COLUMN =", value, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnNotEqualTo(String value) {
            addCriterion("TARGET_COLUMN <>", value, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnGreaterThan(String value) {
            addCriterion("TARGET_COLUMN >", value, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnGreaterThanOrEqualTo(String value) {
            addCriterion("TARGET_COLUMN >=", value, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnLessThan(String value) {
            addCriterion("TARGET_COLUMN <", value, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnLessThanOrEqualTo(String value) {
            addCriterion("TARGET_COLUMN <=", value, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnLike(String value) {
            addCriterion("TARGET_COLUMN like ", value, "TARGET_COLUMN", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnNotLike(String value) {
            addCriterion("TARGET_COLUMN  not like ", value, "TARGET_COLUMN", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnLeftLike(String value) {
            addCriterion("TARGET_COLUMN like ", value, "TARGET_COLUMN", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnNotLeftLike(String value) {
            addCriterion("TARGET_COLUMN  not like ", value, "TARGET_COLUMN", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnRightLike(String value) {
            addCriterion("TARGET_COLUMN like ", value, "TARGET_COLUMN", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnNotRightLike(String value) {
            addCriterion("TARGET_COLUMN  not like ", value, "TARGET_COLUMN", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnIn(List<String> values) {
            addCriterion("TARGET_COLUMN  in ", values, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnNotIn(List<String> values) {
            addCriterion("TARGET_COLUMN not in ", values, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnBetween(String value1, String value2) {
            addCriterion("TARGET_COLUMN between ", value1, value2, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColumnNotBetween(String value1, String value2) {
            addCriterion("TARGET_COLUMN not between ", value1, value2, "TARGET_COLUMN");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andTargetColValIsNull() {
            addCriterion("TARGET_COL_VAL is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValIsNotNull() {
            addCriterion("TARGET_COL_VAL is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValEqualTo(String value) {
            addCriterion("TARGET_COL_VAL =", value, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValNotEqualTo(String value) {
            addCriterion("TARGET_COL_VAL <>", value, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValGreaterThan(String value) {
            addCriterion("TARGET_COL_VAL >", value, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValGreaterThanOrEqualTo(String value) {
            addCriterion("TARGET_COL_VAL >=", value, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValLessThan(String value) {
            addCriterion("TARGET_COL_VAL <", value, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValLessThanOrEqualTo(String value) {
            addCriterion("TARGET_COL_VAL <=", value, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValLike(String value) {
            addCriterion("TARGET_COL_VAL like ", value, "TARGET_COL_VAL", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValNotLike(String value) {
            addCriterion("TARGET_COL_VAL  not like ", value, "TARGET_COL_VAL", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValLeftLike(String value) {
            addCriterion("TARGET_COL_VAL like ", value, "TARGET_COL_VAL", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValNotLeftLike(String value) {
            addCriterion("TARGET_COL_VAL  not like ", value, "TARGET_COL_VAL", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValRightLike(String value) {
            addCriterion("TARGET_COL_VAL like ", value, "TARGET_COL_VAL", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValNotRightLike(String value) {
            addCriterion("TARGET_COL_VAL  not like ", value, "TARGET_COL_VAL", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValIn(List<String> values) {
            addCriterion("TARGET_COL_VAL  in ", values, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValNotIn(List<String> values) {
            addCriterion("TARGET_COL_VAL not in ", values, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValBetween(String value1, String value2) {
            addCriterion("TARGET_COL_VAL between ", value1, value2, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andTargetColValNotBetween(String value1, String value2) {
            addCriterion("TARGET_COL_VAL not between ", value1, value2, "TARGET_COL_VAL");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andStaffIdIsNull() {
            addCriterion("STAFF_ID is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdIsNotNull() {
            addCriterion("STAFF_ID is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdEqualTo(Integer value) {
            addCriterion("STAFF_ID =", value, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdNotEqualTo(Integer value) {
            addCriterion("STAFF_ID <>", value, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdGreaterThan(Integer value) {
            addCriterion("STAFF_ID >", value, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("STAFF_ID >=", value, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdLessThan(Integer value) {
            addCriterion("STAFF_ID <", value, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdLessThanOrEqualTo(Integer value) {
            addCriterion("STAFF_ID <=", value, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdLike(Integer value) {
            addCriterion("STAFF_ID like ", value, "STAFF_ID", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdNotLike(Integer value) {
            addCriterion("STAFF_ID  not like ", value, "STAFF_ID", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdLeftLike(Integer value) {
            addCriterion("STAFF_ID like ", value, "STAFF_ID", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdNotLeftLike(Integer value) {
            addCriterion("STAFF_ID  not like ", value, "STAFF_ID", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdRightLike(Integer value) {
            addCriterion("STAFF_ID like ", value, "STAFF_ID", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdNotRightLike(Integer value) {
            addCriterion("STAFF_ID  not like ", value, "STAFF_ID", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdIn(List<Integer> values) {
            addCriterion("STAFF_ID  in ", values, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdNotIn(List<Integer> values) {
            addCriterion("STAFF_ID not in ", values, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdBetween(Integer value1, Integer value2) {
            addCriterion("STAFF_ID between ", value1, value2, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStaffIdNotBetween(Integer value1, Integer value2) {
            addCriterion("STAFF_ID not between ", value1, value2, "STAFF_ID");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andStateIsNull() {
            addCriterion("STATE is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateIsNotNull() {
            addCriterion("STATE is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateEqualTo(String value) {
            addCriterion("STATE =", value, "STATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateNotEqualTo(String value) {
            addCriterion("STATE <>", value, "STATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateGreaterThan(String value) {
            addCriterion("STATE >", value, "STATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE >=", value, "STATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateLessThan(String value) {
            addCriterion("STATE <", value, "STATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateLessThanOrEqualTo(String value) {
            addCriterion("STATE <=", value, "STATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateLike(String value) {
            addCriterion("STATE like ", value, "STATE", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateNotLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateLeftLike(String value) {
            addCriterion("STATE like ", value, "STATE", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateNotLeftLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateRightLike(String value) {
            addCriterion("STATE like ", value, "STATE", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateNotRightLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateIn(List<String> values) {
            addCriterion("STATE  in ", values, "STATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateNotIn(List<String> values) {
            addCriterion("STATE not in ", values, "STATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateBetween(String value1, String value2) {
            addCriterion("STATE between ", value1, value2, "STATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateNotBetween(String value1, String value2) {
            addCriterion("STATE not between ", value1, value2, "STATE");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andStateDateIsNull() {
            addCriterion("STATE_DATE is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateIsNotNull() {
            addCriterion("STATE_DATE is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateEqualTo(String value) {
            addCriterion("STATE_DATE =", value, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateNotEqualTo(String value) {
            addCriterion("STATE_DATE <>", value, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateGreaterThan(String value) {
            addCriterion("STATE_DATE >", value, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE_DATE >=", value, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateLessThan(String value) {
            addCriterion("STATE_DATE <", value, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateLessThanOrEqualTo(String value) {
            addCriterion("STATE_DATE <=", value, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateNotLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateLeftLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateNotLeftLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateRightLike(String value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateNotRightLike(String value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateIn(List<String> values) {
            addCriterion("STATE_DATE  in ", values, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateNotIn(List<String> values) {
            addCriterion("STATE_DATE not in ", values, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateBetween(String value1, String value2) {
            addCriterion("STATE_DATE between ", value1, value2, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andStateDateNotBetween(String value1, String value2) {
            addCriterion("STATE_DATE not between ", value1, value2, "STATE_DATE");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateEqualTo(String value) {
            addCriterion("CREATE_DATE =", value, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateNotEqualTo(String value) {
            addCriterion("CREATE_DATE <>", value, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateGreaterThan(String value) {
            addCriterion("CREATE_DATE >", value, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE >=", value, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateLessThan(String value) {
            addCriterion("CREATE_DATE <", value, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateLessThanOrEqualTo(String value) {
            addCriterion("CREATE_DATE <=", value, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateNotLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateLeftLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateNotLeftLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateRightLike(String value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateNotRightLike(String value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateIn(List<String> values) {
            addCriterion("CREATE_DATE  in ", values, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateNotIn(List<String> values) {
            addCriterion("CREATE_DATE not in ", values, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateBetween(String value1, String value2) {
            addCriterion("CREATE_DATE between ", value1, value2, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andCreateDateNotBetween(String value1, String value2) {
            addCriterion("CREATE_DATE not between ", value1, value2, "CREATE_DATE");
            return (TargetColMapCriteria) this;
        }
        public TargetColMapCriteria andSourceColumnTypeIsNull() {
            addCriterion("SOURCE_COLUMN_TYPE is null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeIsNotNull() {
            addCriterion("SOURCE_COLUMN_TYPE is not null");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeEqualTo(String value) {
            addCriterion("SOURCE_COLUMN_TYPE =", value, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeNotEqualTo(String value) {
            addCriterion("SOURCE_COLUMN_TYPE <>", value, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeGreaterThan(String value) {
            addCriterion("SOURCE_COLUMN_TYPE >", value, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeGreaterThanOrEqualTo(String value) {
            addCriterion("SOURCE_COLUMN_TYPE >=", value, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeLessThan(String value) {
            addCriterion("SOURCE_COLUMN_TYPE <", value, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeLessThanOrEqualTo(String value) {
            addCriterion("SOURCE_COLUMN_TYPE <=", value, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeLike(String value) {
            addCriterion("SOURCE_COLUMN_TYPE like ", value, "SOURCE_COLUMN_TYPE", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeNotLike(String value) {
            addCriterion("SOURCE_COLUMN_TYPE  not like ", value, "SOURCE_COLUMN_TYPE", 1);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeLeftLike(String value) {
            addCriterion("SOURCE_COLUMN_TYPE like ", value, "SOURCE_COLUMN_TYPE", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeNotLeftLike(String value) {
            addCriterion("SOURCE_COLUMN_TYPE  not like ", value, "SOURCE_COLUMN_TYPE", 0);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeRightLike(String value) {
            addCriterion("SOURCE_COLUMN_TYPE like ", value, "SOURCE_COLUMN_TYPE", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeNotRightLike(String value) {
            addCriterion("SOURCE_COLUMN_TYPE  not like ", value, "SOURCE_COLUMN_TYPE", 2);
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeIn(List<String> values) {
            addCriterion("SOURCE_COLUMN_TYPE  in ", values, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeNotIn(List<String> values) {
            addCriterion("SOURCE_COLUMN_TYPE not in ", values, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeBetween(String value1, String value2) {
            addCriterion("SOURCE_COLUMN_TYPE between ", value1, value2, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

        public TargetColMapCriteria andSourceColumnTypeNotBetween(String value1, String value2) {
            addCriterion("SOURCE_COLUMN_TYPE not between ", value1, value2, "SOURCE_COLUMN_TYPE");
            return (TargetColMapCriteria) this;
        }

    }

    public static class TargetColMapCriteria extends GeneratedCriteria {

        protected TargetColMapCriteria() {
            super();
        }
    }

    public static class TargetColMapCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected TargetColMapCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected TargetColMapCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected TargetColMapCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected TargetColMapCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected TargetColMapCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected TargetColMapCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}